from django.contrib.sitemaps import Sitemap
from datetime import datetime
from nameremoved.comics.sitemap import ComicSitemap, ContributionSitemap
from nameremoved.extra.sitemap import ExtraSitemap

class FrontPageSitemap(Sitemap):
    changefreq = "daily"
    priority = 1.0
    location = "/"
    lastmod = datetime.today()
    items = lambda x: ("Front Page",)

sitemaps = {
    "frontpage": FrontPageSitemap,
    "comics": ComicSitemap,
    "extra": ExtraSitemap,
    "contrib": ContributionSitemap,
    }